﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AdminloginDataSet" targetNamespace="http://tempuri.org/AdminloginDataSet.xsd" xmlns:mstns="http://tempuri.org/AdminloginDataSet.xsd" xmlns="http://tempuri.org/AdminloginDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DatabaseConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="DatabaseConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DatabaseConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DBCS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBCS (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DBCS.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AdminLoginTableAdapter" GeneratorDataComponentClassName="AdminLoginTableAdapter" Name="AdminLogin" UserDataComponentName="AdminLoginTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.AdminLogin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[AdminLogin] WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AdminLogin] ([AdminUserName], [AdminPassword], [AdmineMail], [AdminName]) VALUES (@AdminUserName, @AdminPassword, @AdmineMail, @AdminName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdminUserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdminPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdminPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdmineMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdmineMail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdminName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdminName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Id, AdminUserName, AdminPassword, AdmineMail, AdminName FROM dbo.AdminLogin</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[AdminLogin] SET [AdminUserName] = @AdminUserName, [AdminPassword] = @AdminPassword, [AdmineMail] = @AdmineMail, [AdminName] = @AdminName WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdminUserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdminPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdminPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdmineMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdmineMail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AdminName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AdminName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="AdminUserName" DataSetColumn="AdminUserName" />
              <Mapping SourceColumn="AdminPassword" DataSetColumn="AdminPassword" />
              <Mapping SourceColumn="AdmineMail" DataSetColumn="AdmineMail" />
              <Mapping SourceColumn="AdminName" DataSetColumn="AdminName" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="AdminLogin" Modifier="Public" Name="AdminLogin" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="AdminLogin">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        COUNT(*)
FROM            AdminLogin
WHERE        (AdminUserName = @AUN) AND (AdminPassword = @AP)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="AUN" ColumnName="AdminUserName" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AUN" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="AP" ColumnName="AdminPassword" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AP" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.AdminLogin" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="GetAdminName" Modifier="Public" Name="GetAdminName" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="GetAdminName">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        AdminName
FROM            AdminLogin
WHERE        (AdminUserName = @AUN)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="AUN" ColumnName="AdminUserName" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AUN" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.AdminLogin" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="GetPassowrdAdmin" Modifier="Public" Name="GetPassowrdAdmin" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="GetPassowrdAdmin">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        AdminPassword
FROM            AdminLogin
WHERE        (AdminUserName = @AUN and AdmineMail = @AeM)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="AUN" ColumnName="AdminUserName" DataSourceName="[E:\RAW\PROJECT\45\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AUN" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="AeM" ColumnName="AdmineMail" DataSourceName="[E:\RAW\PROJECT\45\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AeM" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdmineMail" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertAdminRegester" Modifier="Public" Name="InsertAdminRegester" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="InsertAdminRegester">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [dbo].[AdminLogin] ([AdminUserName], [AdminPassword], [AdmineMail], [AdminName]) VALUES (@AdminUserName, @AdminPassword, @AdmineMail, @AdminName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="AdminUserName" ColumnName="AdminUserName" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AdminUserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="AdminPassword" ColumnName="AdminPassword" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AdminPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="AdmineMail" ColumnName="AdmineMail" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AdmineMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdmineMail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="AdminName" ColumnName="AdminName" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.AdminLogin" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AdminName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="AdminName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ScalarChekAvaliable" Modifier="Public" Name="ScalarChekAvaliable" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="ScalarChekAvaliable">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        COUNT(*) AS AdminUserName
FROM            AdminLogin
WHERE        (AdminUserName = @AUN)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="AUN" ColumnName="COUNT(*)" DataSourceName="" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@AUN" Precision="0" Scale="0" Size="50" SourceColumn="AdminUserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AdminloginDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="AdminloginDataSet" msprop:Generator_UserDSName="AdminloginDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="AdminLogin" msprop:Generator_TableClassName="AdminLoginDataTable" msprop:Generator_TableVarName="tableAdminLogin" msprop:Generator_RowChangedName="AdminLoginRowChanged" msprop:Generator_TablePropName="AdminLogin" msprop:Generator_RowDeletingName="AdminLoginRowDeleting" msprop:Generator_RowChangingName="AdminLoginRowChanging" msprop:Generator_RowEvHandlerName="AdminLoginRowChangeEventHandler" msprop:Generator_RowDeletedName="AdminLoginRowDeleted" msprop:Generator_RowClassName="AdminLoginRow" msprop:Generator_UserTableName="AdminLogin" msprop:Generator_RowEvArgName="AdminLoginRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="AdminUserName" msprop:Generator_ColumnVarNameInTable="columnAdminUserName" msprop:Generator_ColumnPropNameInRow="AdminUserName" msprop:Generator_ColumnPropNameInTable="AdminUserNameColumn" msprop:Generator_UserColumnName="AdminUserName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AdminPassword" msprop:Generator_ColumnVarNameInTable="columnAdminPassword" msprop:Generator_ColumnPropNameInRow="AdminPassword" msprop:Generator_ColumnPropNameInTable="AdminPasswordColumn" msprop:Generator_UserColumnName="AdminPassword" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AdmineMail" msprop:Generator_ColumnVarNameInTable="columnAdmineMail" msprop:Generator_ColumnPropNameInRow="AdmineMail" msprop:Generator_ColumnPropNameInTable="AdmineMailColumn" msprop:Generator_UserColumnName="AdmineMail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AdminName" msprop:Generator_ColumnVarNameInTable="columnAdminName" msprop:Generator_ColumnPropNameInRow="AdminName" msprop:Generator_ColumnPropNameInTable="AdminNameColumn" msprop:Generator_UserColumnName="AdminName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AdminLogin" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>